home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / Util / Pm-Pz / PrintIt.cpt / PrintIt Globals next >
Encoding:
Text File  |  1988-11-27  |  12.6 KB  |  308 lines  |  [TEXT/ttxt]

  1.  
  2.                                              P R I N T I T
  3.  
  4.  
  5.                                              Version 3.0
  6.  
  7.  
  8.               G L O B A L   C O M M A N D S    I N S T R U C T I O N S
  9.  
  10.  
  11.                  Copyright © 1984,1988 Daniel A. Delamatta &
  12.                                                       George F. Farrell, Jr.
  13.  
  14.                                       All Rights Reserved
  15.  
  16. «»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
  17.  
  18.                   S  H  A  R  E  W  A  R  E     N  O  T  I  C  E
  19.  
  20.      This utility program is made available to the public as a shareware program.  All rights and titles to this utility are reserved and copyrighted by Daniel Delamatta and George F. Farrell, Jr.
  21.  
  22.      You may use this program till your heart's content, and you may give copies to anyone.  Under no circumstances are modified copies of this program allowed without the express consaent of the above programmers.  If you do not wish to keep this program, then either delete it from your disks, or give it to someone else.
  23.  
  24.      If you do want to keep this program, then send your $15 shareware fee to:
  25.                                           Daniel Delamatta
  26.                                           275 South St Ext
  27.                                          Coventry, CT 06238
  28. On receipt of your fee, you will be put on my mailing list, and will be kept informed of the latest updates.
  29.  
  30.      If you have any problems or questions, then write to the above address, and please state your version number.
  31.  
  32. «»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
  33.  
  34.                                       G L O B A L     C O M M A N D S
  35.  
  36.      The following is a brief list of the global commands. Global
  37. commands are those type of commands which will affect the entire
  38. text printing output.
  39.  
  40.      CK        Change the special character
  41.      
  42.      IA        Ignore all text file commands
  43.      IR         Resume implementation of text file commands
  44.  
  45.      LNO       Turn line numbering on
  46.      LNF       Turn line numbering off
  47.  
  48.      MLxxx    Set left margin to xxx
  49.      MRyyy    Set right margin to yyy
  50.  
  51.      PH+       Omit top of page header
  52.      PH[...]     Print top of page header as ...
  53.  
  54.      PLxx      Set page length to xx
  55.  
  56.      PNO       Turn page numbering on
  57.      PNF       Turn page numbering off
  58.  
  59.      PSxxxxx  Start numbering pages when you reach page xxxxx
  60.      PWyyyyy Start page numbers with yyyyy
  61.  
  62.      Sx          Set spacing to 1 (single), 2 (double) or 3 (triple)
  63.  
  64.      WWO      Turn word wrap on
  65.      WWF      Turn word wrap off
  66.  
  67.      Any one of the above commands, as well as the others (see
  68. later) can be entered in either upper- or lower-case. The program
  69. will automatically convert them as needed.
  70.  
  71. «»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
  72.  
  73. 1. The command CK
  74.     ---------------
  75.  
  76.      After issuing the command ~CK, the next legal character will
  77. become the new special character until either the text formatting
  78. is complete or another command of ~CK has been issued. For
  79. example: ~CK| yields | (down-slash) as the new special character.
  80.  
  81.      The legal characters are:
  82.  
  83.      ! @ # $ % ^ & * ( ) _ - + = { [ } ] | \ : ; " ' < , > . ? / ~ `
  84.  
  85.      As you will notice, no numbers or letters are allowed. After
  86. changing the special character, it will remain in effect until
  87. changed in the text, or the end of the printing. It will not be kept.
  88.      
  89. «»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
  90.  
  91. 2. The commands IA, IR
  92.     -------------------
  93.  
  94.      The command ~IA will cause the program to Ignore All
  95. commands in the text, until ~IR is found. This feature comes in
  96. very handy in certain cases: explaining the commands (ie., these
  97. instructions) or multiple use of the special character which would
  98. cause the program to "go berserk" in trying to implement
  99. nonsensical commands. The two commands may be issued as often
  100. as needed.  The IGNORE function is turned off initially. ~IA will
  101. turn it on.
  102.  
  103.      The command ~IR will cause the program to Implementation
  104. Resume, that is, to resume implementing all the commands.
  105.  
  106. «»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
  107.  
  108. 3. The commands LNO, LNF
  109.     ---------------------
  110.  
  111.      The command ~LNO will cause the program to Line Number On,
  112. or number the lines of the text, whether in the word wrapping
  113. mode or not. All starting line numbers begin at 1, and will
  114. increase until 99,999 has been reached, at which point the
  115. program will halt. The LINE NUMBER function is turned off
  116. initially. ~LNO will turn it on.
  117.  
  118.      The command ~LNF will turn the Line Numbering oFf, until
  119. either the end  of the program, or the command ~LNO is issued.
  120.  
  121. «»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
  122.  
  123. 4.  The command MLxxx
  124.     ------------------
  125.  
  126.      The command ~ML will cause the program to Marginate Left at
  127. the position numerically designated as xxx (xxx is a number). For
  128. example, ~ML003 will put the first character at the third position.
  129. This command, during the printing of the text, will be useful for
  130. indentations of quotes. To use this command successfully, you
  131. must issue it the line BEFORE you want to use it, or put it on its
  132. own line.
  133.      Text Sample                                Printed Output
  134.      -----------                                --------------
  135. This is a test~ml005 of it.               This is a test of it.
  136. To see what it will do.~ml010                  To see what it will do.
  137. Ok?                                                                    Ok?
  138.  
  139.      You may have noticed that the command is in lowercase. The
  140. program will recognize: ML, mL, Ml, or ml, that is, it does not care
  141. what case any of the commands are, whether global or not.
  142. However, you MUST issue them properly. Initially, the left margin
  143. is set at 11.
  144.  
  145. «»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
  146.  
  147. 5. The command MRxxx
  148.  
  149.      Like the ~MLxxx command, the ~MR command causes the
  150. program to Marginate Right, setting the right margin to the
  151. position denoted as xxx (where xxx represents a number). This
  152. number designates the last character position in the line. As in the
  153. above explanation, the ~MR command can be useful in indentation
  154. of quotes. This command is the absolute last position in the line. 
  155. Should the text file line exceed the printing alloted length, the line
  156. will be either truncated (word wrap off) and the extra length
  157. printed on a new line with the quote (") printed at the beginning of
  158. the new line, or tacked on to the beginning of the next text file
  159. line (word wrap on). See WORD WRAP later. Initially, the right
  160. margin is set at 60.
  161.  
  162. «»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
  163.  
  164. 6. The commands PH+, PH[]
  165.  
  166.      The command ~PH+ will cause the Print Head function to be
  167. turned off. The plus sign is used instead of the blank [] to
  168. facilitate things, and to shorten an already too-long header
  169. command. Initially, the print header function is turned off.
  170.  
  171.      The command ~PH[] will cause the program to first turn on the
  172. print head function (if off), and secondly to replace the existing
  173. header (if any) with what is between the two square brackets.
  174. WARNING: do NOT issue a blank header (ie., issue ~PH[]), for this
  175. will cause the program to tell you that an error has occured. If
  176. you want to turn the header function off, use ~PH+ instead.
  177.  
  178.      Also, the header can only be 25 characters less then that width
  179. of the page. For example, at a standard 80 characters for normal-
  180. sized paper, that would leave you 55 characters. An example would
  181. be the header:  ~PH[Pascal Pretty Printing Program Instructions].
  182.  
  183.      You will note that the header is centered. If you want it off
  184. center, enter blank spaces either before the header (to shift
  185. right) or after it (to shift it left). If you should turn the header
  186. function off, when you turn it back on, you will have to re-enter
  187. the entire old header.
  188.  
  189. «»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
  190.  
  191. 7. The command PLxx
  192.  
  193.      The command ~PL will cause the program to set the Page
  194. Length to xx (where xx represents a number). The most that you
  195. can getout of the program is the actual length minus 4 lines (used
  196. for the header and page number, and to prevent printing any text
  197. over printer paper perforations). The length is calculated by
  198. multiplying the lines per inch by 11. Initially, the page length is
  199. set at 12 lines less than the full page length (normally, set at 54).
  200.  
  201.      For example, a normal 11-inch sheet of paper will have 66
  202. lines (ie., 6 lines per inch). This is the normal amount for a
  203. standard printer (or typewriter). This means that with 66 lines,
  204. minus 4 for program use, the most you can get for page length is
  205. 62. For example, if the program is set up for research paper style,
  206. one inch top and bottom makes 12 lines (12 divided by 6 (lines per
  207. inch) make 2 inches).
  208.  
  209.      You can reset the page length at any time, but it best to do so
  210. at the END of a page. To make sure, you would use it in conjunction
  211. with ~FD (see later).
  212.  
  213. «»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
  214.  
  215. 8. The commands PNO, PNF
  216.  
  217.      The command ~PNO will cause the program to turn the Page
  218. Number function On. This command is used in conjunction with the
  219. commands ~PS and ~PW (see paragraphs 10 and 11 below). This
  220. command allows you to number the pages, independlently from the
  221. page header command. This function could be off, with the page
  222. header function on, or vice versa. It can be turned on and off as
  223. many times as you want, although the page numbers will still be increased as they are issued. Initially, the Page Number function
  224. is On.
  225.  
  226.      The command ~PNF will cause the program to turn the Page
  227. Number function oFf. A final note on this function: only the last
  228. issued command will be implemented at the next top-of-page
  229. incident.
  230.  
  231. «»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
  232.  
  233. 9. The command PSxxxxx
  234.  
  235.      The command ~PS will cause the program to number the Pages
  236. Starting at xxxxx (where xxxxx denotes an actual number). This
  237. command, issued properly, means that the program will start to
  238. number the pages when it reaches the specified number. For
  239. example, ~PS00451 means that the program will start to number
  240. the pages when the page number becomes 451. The initial PS
  241. number is 2.
  242.  
  243.      Ths command must not be confused with the next command. The
  244. PS command will cause the PAGE NUMBERING to be started when
  245. the page number count reaches the designated number.
  246.  
  247. «»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
  248.  
  249. 10. The command PWxxxxx
  250.  
  251.      The command ~PW will cause the program the number the Pages
  252. With xxxx, where xxxxx is a number. This command will cause the
  253. program to start the page number count with the desired number,
  254. as specified as xxxxx. For example, ~PW00421 means that the
  255. FIRST page number will be 421. The initial page number is 1.
  256.  
  257.      You must not confuse this command with the preceding one.
  258. This command causes the page number to start at 421 (in the
  259. example above), although the FIRST page number to be PRINTED
  260. will be 451 (as in the example in the preceding comand).
  261.  
  262.      WARNING:  The ~PS number must NOT be LESS than the ~PW
  263. number, or an error will occur. It can, however, be the same: this
  264. would mean that the first page to be numbered would be the first
  265. number.
  266.  
  267. «»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
  268.  
  269. 11. The command Sx
  270.  
  271.      The command ~S will cause the program to set the Spacing to x,
  272. where x is a number from 1 to 3. Unlike any of the preceding or
  273. following commands, the spacing can only be 1, 2, or 3 (ie., single,
  274. double, or triple). This covers all of the normally-used paper
  275. settings. The initial setting is 2 (double).
  276.  
  277.      If you desire more blank lines between each printed line, you
  278. must personally have blank lines between each of you text file
  279. lines.
  280.  
  281. «»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
  282.  
  283. 12.  The commands WWO, WWF
  284.  
  285.      The command ~WWO will cause the program to turn the Word
  286. Wrap On. Word wrapping is a handy feature for research papers: it
  287. allows you to type a text at 80 columns, and generate a paper with
  288. only 60 columns, without having to re-format the text file. The
  289. second page of these instructions was done that way. The Word
  290. Wrap function is initially set On.
  291.  
  292.      The command ~WWF will cause the program to turn the Word
  293. Wrapping oFf. It is best to do either of these commands at the
  294. START of a line, rather than in the middle or at the end. This way,
  295. you will be assured that the integrity of the current line will be preserved.
  296.  
  297.  «»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
  298.  
  299.              Copyright © 1984,1988 by Daniel A. Delamatta and
  300.                                                        George F. Farrell, Jr.
  301.  
  302.                                        All Rights Reserved
  303.  
  304. «»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
  305.  
  306.          Instructions  Copyright © 1988 by Daniel A. Delamatta
  307.  
  308. «»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»